[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
clreol() Clear Screen to End of Line
#include <conio.h>
void clreol(void);
clreol() erases all the characters on a line from the current cursor
position to the end of the line within the current text window. The
cursor position remains the same.
Returns: Nothing.
Portability: IBM PC and compatibles only.
-------------------------------- Example ---------------------------------
The following statements print the letters of the alphabet on one
line then erase the last half of them.
#include <conio.h>
main()
{
int x;
gotoxy(10,10);
for (x = 65; x < 91; x++)
printf("%c",x);
getch();
gotoxy(20,10);
clreol();
}
See Also:
clrscr()
delline()
window()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson